/*
 * mox_comm.xc
 *
 *  Created on: Jul 11, 2010
 *      Author: jmonk
 */

signed mox_chan_in_noblock(streaming chanend c)
{
	signed int tmp;
	select {
	case c :> tmp:
		return tmp;
	default:
		return -1;
	}
}
